package com.xszx.bean;

import java.sql.Date;

public class User {
    private Integer id;
    private String username;
    private String password;
    private String realName;
    private String cardId;
    private Date birthday;
    private String phone;
    private String userInfo;

    public User(Integer id, String username, String password, String realName, String cardId, Date birthday, String phone, String userInfo) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.cardId = cardId;
        this.birthday = birthday;
        this.phone = phone;
        this.userInfo = userInfo;
    }

    public User() {
    }

    public User(String username, String password, String realName, String cardId, Date birthday, String phone, String userInfo) {
        this.username = username;
        this.password = password;
        this.realName = realName;
        this.cardId = cardId;
        this.birthday = birthday;
        this.phone = phone;
        this.userInfo = userInfo;
    }

    public User(Integer id, String username, String realName, String cardId, Date birthday, String phone, String userInfo) {
        this.id = id;
        this.username = username;
        this.realName = realName;
        this.cardId = cardId;
        this.birthday = birthday;
        this.phone = phone;
        this.userInfo = userInfo;
    }

    public User(Integer id, String username, String realName, String cardId, String phone, String userInfo) {
        this.id = id;
        this.username = username;
        this.realName = realName;
        this.cardId = cardId;
        this.phone = phone;
        this.userInfo = userInfo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(String userInfo) {
        this.userInfo = userInfo;
    }
}
